#include "csvparser.hpp"
#include <iostream>
using namespace std;
using namespace com::jimblogger;
int main()
{
 csvparser cp = csvparser();
 
 cout << "created class object" << endl;

 cp.readCSV("/tmp/test.csv");

 cout << "running readCSV" << endl;
 
int count = cp.size();
int x;
for(x=0; x< count; x++)
{
  csvrecord row = cp.getRow(x);
  std::string d = row.getColumn(0);
  cout << d.data() << endl;
}

 return 0;
}
